<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon">
<link rel="icon" href="http://favicon.ico" type="image/vnd.microsoft.icon">
<title>View</title>
<style>
h1{
	color: #666;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	line-height: 90%;
	letter-spacing: -2px;
	font-size: 35px;
	padding-bottom:10px;
	border-bottom:2px solid #8FC629;
	width:985px;
	margin:0px auto;
	margin-bottom:20px;
}
h2{
	color: #666;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	line-height: 90%;
	letter-spacing: -2px;
	font-size: 20px;
	padding-bottom:10px;
	width:985px;
	margin:0px auto;
	text-align:right;
	margin-bottom:20px;
}

th{
    color: #888;
   	font-family: Georgia, "Times New Roman", Times, serif;
   	font-weight: normal;
}

#browser{
	width:700px;
	margin:0px auto;
}
</style>
</head>

<body>
<h2><a href=/add>Add</a></h2>
<h1>The open items are as follows:</h1>
<table id="browser">
  <thead>
    <tr>
      <th>ID</th>
      <th>username</th>
      <th>password</th>
	  <th>nickname</th>
	  <th>email</th>
	  <th>department</th>
	  <th>jobnumber</th>
	  <th>onjob</th>
	  <th>logintime</th>
	  <th>description</th>
	  <th>Edit</th>
	  <th>Delete</th>
    </tr>
  </thead>
  <tbody>
%for col in rows:
	  <tr>
	  <th>{{col[0]}}</th>
      <th>{{col[1]}}</th>
	  <th>{{col[2]}}</th>
	  <th>{{col[3]}}</th>
	  <th>{{col[4]}}</th>
	  <th>{{col[5]}}</th>
	  <th>{{col[6]}}</th>
	  <th>{{col[7]}}</th>
	  <th>{{col[8]}}</th>
	  <th>{{col[9]}}</th>
	  <th><a href="/edit/{{col[0]}}">edit</a></th>
	  <th><a href="/dele/{{col[0]}}">delete</a></th>
	  </tr>
%end

  </tbody>
</table>
</body>